package net.wanho.mapper;

import net.wanho.entity.Role;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_role(角色表)】的数据库操作Mapper
* @createDate 2023-08-24 11:38:25
* @Entity net.wanho.entity.Role
*/
public interface RoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectByUsername(String username);
}
